.alert {
  position: fixed;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  text-align: center;
  margin: 15px auto;
  display: none;
}

.manageBox {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 1150px;

  .directory {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: #001e32;

    h1 {
      text-align: center;
      margin-top: 50px;
      background-image: -webkit-linear-gradient(left, #ffffff, #ff0000);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .directory-same {
      font-size: 20px;
      color: #ffffff;
      margin: 30px 20px;

      a.current {
        color: #409eff !important;;

        i {
          margin-right: 4px;
        }
      }
    }
  }

  .contentBox {
    width: 1653px;
    height: 100%;
    margin-left: 250px;

    .mask {
      width: 100%;
      height: 100%;

      .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 100%;
        //background-color: #fefefe;

        .content-header {
          display: flex;
          justify-content: flex-end;
          align-items: center;
          width: 100%;
          height: 70px;
          background-color: #ffffff;
          border-bottom: 1px solid #cccccc;

          .account {
            width: 150px;
            height: 50px;
            text-align: center;
            line-height: 50px;
            font-size: 18px;
          }

          .close {
            width: 50px;
            height: 50px;
            text-align: center;
            line-height: 50px;
            font-size: 18px;
            margin-right: 20px;
          }
        }

        //发布文章
        .content-publish {
          width: 90%;
          height: 1000px;
          border-radius: 10px;
          box-shadow: 0 2px 5px 3px #cccccc;
          margin-top: 30px;

          .publish-form {
            width: 100%;
            height: 100%;

            //页面标题
            .content-manage-title {
              display: flex;
              //justify-content: center;
              width: 100%;
              height: 50px;
              margin-left: 35px;

              h5 {
                width: 95%;
                height: 100%;
                line-height: 50px;
                border-bottom: 1px solid #efe7e7;
              }
            }

            //发布的文章标题
            .content-manage-publish-title {
              width: 100%;
              height: 70px;
              line-height: 70px;
              margin-left: 35px;
              font-size: 18px;

              .publish-input {
                input {
                  width: 180px;
                  height: 40px;
                  outline: none;
                  border: 1px solid #cccccc;
                  border-radius: 5px;
                  padding-left: 15px;
                }
              }
            }

            //频道
            .content-manage-publish-channel {
              width: 100%;
              height: 70px;
              line-height: 70px;
              margin-left: 35px;
              font-size: 18px;

              .channel {
                width: 180px;
                height: 40px;
                outline: none;
                border: 1px solid #cccccc;
                border-radius: 5px;
              }
            }

            //封面
            .content-manage-cover {
              display: flex;
              flex-direction: column;
              width: 100%;
              height: 300px;
              font-size: 18px;

              span:nth-child(1) {
                margin: 10px 35px;
              }

              span:nth-child(2) {
                width: 210px;
                height: 230px;
                margin-left: 90px;
                border-radius: 5px;
                border: 1px solid #ff6550;
                overflow: hidden;


                label {
                  position: relative;
                  width: 100%;
                  height: 100%;

                  i {
                    position: absolute;
                    top: 45%;
                    left: 50%;
                    transform: translateX(-50%);
                    font-size: 30px;
                  }

                  img {
                    width: 100%;
                    height: 100%;
                    cursor: pointer;
                    display: none;
                  }
                }
              }
            }

            //内容
            .content-manage-publish-content {
              display: flex;
              flex-direction: column;
              width: 100%;
              height: 400px;

              .title {
                font-size: 18px;
                margin: 5px 0 0 35px;
              }

              #editor—wrapper {
                width: 95%;
                height: 350px;
                border: 1px solid #ccc;
                z-index: 100; /* 按需定义 */
                margin-left: 35px;

                #toolbar-container {
                  border-bottom: 1px solid #ccc;
                }

                #editor-container {
                  width: 1411px;
                  height: 301px;
                }
              }
            }

            .content-manage-publish-button {
              width: 100px;
              height: 50px;
              margin-left: 30px;

              button {
                display: inline-block;
                width: 100%;
                height: 100%;
              }
            }
          }
        }
      }
    }
  }
}


